<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2017/5/2
  Time: 16:12
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>登录</title>
</head>
<body>
<form action="${pageContext.request.contextPath}/user/login.action">
    <table border="1" align="center">
        <tr>
            <td colspan="2">登录</td>
        </tr>
        <tr>
            <td>用户</td>
            <td><input type="text" name="username"></td>
        </tr>
        <tr>
            <td>密码</td>
            <td><input type="password" name="pwd"></td>
        </tr>
        <tr>
            <td colspan="2"><input type="submit" value="登录"></td>
        </tr>

    </table>
</form>

<form style="margin-top: 200px" method="post" action="${pageContext.request.contextPath}/user/register.action">
    <table border="1" align="center">
        <tr>
            <td align="center" colspan="2">登录</td>
        </tr>
        <tr>
            <td>用户</td>
            <td><input type="text" name="username"></td>
        </tr>
        <tr>
            <td>密码</td>
            <td><input type="password" name="pwd"></td>
        </tr>
        <tr>
            <td>薪水</td>
            <td><input type="number" name="salary"></td>
        </tr>
        <tr>
            <td align="center" colspan="2"><input type="submit" value="注册"></td>
        </tr>

    </table>
</form>

</body>
</html>
